$PCT:100%;
$zero:0;
html,
body {
    width: $PCT;
    height: $PCT;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "MI Lan Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

// 最大盒子
#bigBox {
    flex: 1;
    display: flex;
    flex-direction: row;
}

// 左侧盒子
.leftbox {
    width: 375px;
    height: $PCT;
    background-color: orange;
    img {
        display: block;
        width: $PCT;
        height: $PCT;
    }
}

// 右侧盒子
.rightox {
    flex: 1;
    height: $PCT;
    // background-color: yellow;
    flex-direction: column;
    display: flex;
}

//右侧顶部
.topBox {
    padding: 20px;
    width: $PCT;
    // background: #666;
    display: flex;
    justify-content: space-between;
    .smallBox {
        width: 154px;
        height: 40px;
        // background: blue;
        display: flex;
        align-items: center;
        svg {
            font-size: 40px;
        }
        p {
            font-size: 23px;
            margin: 10px;
            font-weight: 500;
            color: #333;
        }
    }
    .lfBox {
        width: 355px;
        height: 40px;
        // background: chartreuse;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        .nav {
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            a {
                display: inline-block;
                margin-left: 10px;
                margin-right: 10px;
                color: #838383;
            }
        }
        .navdiv {
            color: #838383;
        }
        .item {
            height: 40px;
            line-height: 40px;
            font-size: 14px;
            color: #838383;
        }
    }
}

//登入
.midBox {
    flex: 1;
    width: $PCT;
    // background: coral;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    .tab_box {
        display: inline-block;
        width: 450px;
        // background: #eee;
        padding: 40px 45px;
        box-shadow: 0 10px 50px 10px rgb(243, 242, 242);
        .tab_title {
            width: 360px;
            height: 41px;
            li {
                float: left;
                font-size: 22px;
                line-height: 41px;
                cursor: pointer;
                margin-right: 20px;
                a {
                    display: inline-block;
                    text-decoration: none;
                    color: #bdbdbd;
                    font-weight: 500;
                }
            }
            .active {
                border-bottom: 4px red solid;
                a {
                    color: #333;
                }
            }
        }
    }
}

// input内容区
.tab_content {
    .item_box {
        span {
            font-size: 14px;
            color: #bebebe;
            a {
                color: #333333;
                text-decoration: none;
                font-weight: 400;
            }
        }
    }
    .btn,
    .submit {
        width: 390px;
        height: 60px;
        background: #ffbe99;
        color: #fff;
        font-size: 18px;
        border-radius: 5px;
        border: none;
        transition: background 0.5s;
        margin: 20px 0;
    }
    .btn:hover,
    .submit:hover {
        background: #ffcba9;
    }
    padding-top: 20px;
    .item {
        display: none;
    }
    .item .con_box:nth-child(1) {
        position: relative;
        height: 60px;
        margin-bottom: 30px;
        label {
            position: absolute;
            left: 20px;
            top: 22px;
            color: rgba(0, 0, 0, .4);
            font-weight: 400;
        }
        label:focus {
            top: 3px;
            font-size: 12px;
            transition: all 0.2s;
            color: #aaaaaa;
        }
        input {
            width: $PCT;
            height: 20px;
            padding: 30px 20px 30px 20px;
            border-radius: 4px;
            background: #f9f9f9;
            transition: all .3s cubic-bezier(.645, .045, .355, 1);
            // border: 1px solid #ff5c00;
        }
        input:focus {
            border: 1px solid #ff5c00;
            background: #fff;
        }
        // input::placeholder {
        //     color: #f04645;
        // }
        // .checkspan1 {
        //     color: red;
        // }
    }
    .item .con_box:nth-child(2) {
        position: relative;
        height: 60px;
        margin-bottom: 30px;
        label {
            position: absolute;
            left: 20px;
            top: 22px;
            color: rgba(0, 0, 0, .4);
            font-weight: 400;
        }
        input {
            width: $PCT;
            height: 20px;
            padding: 30px 20px 30px 20px;
            border-radius: 4px;
            background: #f9f9f9;
            transition: all .3s cubic-bezier(.645, .045, .355, 1);
        }
        input:focus {
            border: 1px solid #ff5c00;
        }
    }
    .item .con_box:nth-child(3) {
        position: relative;
        height: 60px;
        margin-bottom: 30px;
        label {
            position: absolute;
            left: 20px;
            top: 22px;
            color: rgba(0, 0, 0, .4);
            font-weight: 400;
        }
        input {
            width: $PCT;
            height: 20px;
            padding: 30px 20px 30px 20px;
            border-radius: 4px;
            background: #f9f9f9;
            transition: all .3s cubic-bezier(.645, .045, .355, 1);
        }
        input:focus {
            border: 1px solid #ff5c00;
        }
    }
    .item {
        .item_box span:nth-child(2) {
            // background: red;
            position: relative;
        }
        .checkspan2,
        .checkspan_login {
            position: absolute;
            left: 63px;
            top: -15px;
            padding: 12px 20px;
            width: 178px;
            background: #fff;
            box-shadow: 0 1px 7px 2px rgb(243, 242, 242);
            color: #343434;
            letter-spacing: 2px;
            font-weight: 400;
            font-size: 14px;
            border-radius: 4px;
            // text-align: center;
            line-height: 20px;
            p {
                display: inline-block;
                height: 100%;
                vertical-align: middle;
            }
            svg {
                font-size: 20px;
                color: #ff6900;
                margin-right: 10px;
                vertical-align: middle;
            }
            display: none;
        }
    }
    .btn:focus {
        outline: 0;
    }
    .forget {
        display: flex;
        justify-content: space-between;
        height: 35.5px;
        a {
            display: inline-block;
            color: #ff5c00;
            font-size: 17px;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.3s;
        }
        a:hover {
            color: #ffa265;
        }
    }
    .es {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        color: #aaaaaa;
    }
    .other_ways {
        width: $PCT;
        height: 51px;
        text-align: center;
        a {
            display: inline-block;
            margin: 0 10px;
            svg {
                font-size: 48px;
            }
        }
    }
}

// 底部
.botBox {
    height: 40px;
    background: #f4f4f4;
    .links {
        height: 18px;
        padding: 0 20px;
        text-align: center;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #999;
        font-size: 12px;
        a {
            color: #999;
        }
    }
}